﻿using FlowDesigner.INotifyCommadBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlowDesigner.Models
{
    public class flownodeEditModel : NotifyBase
    {
        /// <summary>
        /// 录入人
        /// </summary>
        private string Entrant_;

        public string Entrant
        {
            get { return Entrant_; }
            set { Entrant_ = value; }
        }

        /// <summary>
        /// 角色
        /// </summary>
        private string Performrole_;

        public string Performrole
        {
            get { return Performrole_; }
            set { Performrole_ = value; }
        }

        /// <summary>
        /// 部门
        /// </summary>
        private string ExecutiveDepartment_;

        public string ExecutiveDepartment
        {
            get { return ExecutiveDepartment_; }
            set { ExecutiveDepartment_ = value; }
        }

        /// <summary>
        /// 节点描述
        /// </summary>
        private string Description_;

        public string Description
        {
            get { return Description_; }
            set { Description_ = value;
                SetProperty(ref Description_, value);
            }
        }

        /// <summary>
        /// 是否 f分支节点
        /// </summary>
        private bool branch_;

        public bool branch
        {
            get { return branch_; }
            set { branch_ = value; }
        }

        /// <summary>
        /// 是否超时执行
        /// </summary>
        private string Timeoutexecution_;

        public string Timeoutexecution
        {
            get { return Timeoutexecution_; }
            set { Timeoutexecution_ = value; }
        }

        /// <summary>
        /// 执行条件
        /// </summary>
        private string Executionconditions_;
        public string Executionconditions
        {
            get { return Executionconditions_; }
            set { Executionconditions_ = value;
                SetProperty(ref Description_, value);
            }
        }

        /// <summary>
        /// 是否是起始节点
        /// </summary>
        public bool Startnode { get; set; } = false;
    }
}
